package com.lhd.qd.module.system.resource.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@ApiModel(value = "菜单树返回结果")
@Data
public class MenuTreeVO {

    @ApiModelProperty(value = "编码")
    private String code;

    @ApiModelProperty(value = "上级编码")
    private String parentCode;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "前端路由名称")
    private String navRouteName;

    @ApiModelProperty(value = "图标")
    private String navIcon;

    @ApiModelProperty(value = "子菜单")
    private List<MenuTreeVO> children;
}
